added NSEventTypeMagnify and NSEventTypeRotate for ZOOM and ROTATE gestures
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Thu, 7 Jan 2016 14:51:31 +0000 (15:51 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 11 Mar 2016 14:59:01 +0000 (09:59 -0500)
commit887905288763da0378162dc1e67560320dd7709d
treea1e0fe002de375786ecfcd53b6384faa2b34e6d3
parentb37e4ff8059e31fd482560327a20580cb5969303
added NSEventTypeMagnify and NSEventTypeRotate for ZOOM and ROTATE gestures

MacOS provides the NSEventTypeMagnify which is very similar to the
Gtk ZOOM gesture and NSEventTypeRotate which is very similar to the
Gtk Rotate gesture. Those two event sequences are translated to a
sequence of GDK_TOUCHPAD_PINCH events. This sequence is then detected
in the upper gtk layers as Gtk Zoom/Rotate Gestures.

https://bugzilla.gnome.org/show_bug.cgi?id=760276
gdk/quartz/gdkevents-quartz.c